package com.testnative.jni;

import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.Platform;

/**
 * @author xin.ding
 * @date 2021/3/1 20:25
 */
public interface Sample1Library extends Library {

//    Sample1Library INSTANCE = Native.load((Platform.isWindows() ? "msvcrt" : "c"), Sample1Library.class);

    Sample1Library INSTANCE = Native.load("Sample1", Sample1Library.class);


    int intMethod(int n);

}
